package com.cspg.ssss.repository;

import com.cspg.ssss.domain.DwdggbmjdTemporaryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DwdggbmjdTemporaryMapper {
    int insert(DwdggbmjdTemporaryEntity record);//单条插入

    List<DwdggbmjdTemporaryEntity> selectDataById(String id);//根据id单条查询

    List<DwdggbmjdTemporaryEntity> selectAll(String id);//查询全部数据

    int batchInsert(@Param("list")List<DwdggbmjdTemporaryEntity> list);//批量插入

    int updateData(DwdggbmjdTemporaryEntity record);//更新

    int deleteData(@Param("id")String  id);//删除

    DwdggbmjdTemporaryEntity selectDataId(String id);

    int deleteByList(@Param("list")List<DwdggbmjdTemporaryEntity> list);
    //查询问题发现方式
    List<Map> selectst(@Param("creattime")String creattime,@Param("endtime")String endtime,@Param("dwmc")String dwmc);
    //

    Integer selectall();

//    int insertSelective(DwdggbmjdTemporaryEntity record);
}